package com.coolcode.enums;

public enum ExceptionErrorCode {

    SYSTEM_ERROR("000", "System error"),
    INVALID_INPUT("001", "Input field(s) invalid: %s"),
    LOGIN_FAIL("002", "Login failed: %s");

    private String errorCode;
    private String errorDescription;

    ExceptionErrorCode(String errorCode, String errorDescription) {
        this.errorCode = errorCode;
        this.errorDescription = errorDescription;
    }

    public String getCode() {
        return errorCode;
    }

    public String getDesc() {
        return errorDescription;
    }
}
